package com.example.JavaDemo.Mapper;


import com.example.JavaDemo.domain.Building;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BuildingMapper {
      List<Building> selectBuilding(Building building);

      void insertBuilding(Building building);

      void updateBuildingById(Building building);

      void  delBuildingById(@Param("buildingId") String id);
}
